import service from './request'

//统一管理应用程序中的请求

//一个请求封装成一个函数
export function user_login( params = {} ){
    return service.post('/user/login',params);
}
export function user_register( params = {} ){
    return service.post('/user/register',params);
}
export function banner_list( params = {} ){
    return service.get('/banner/list',{ params });
}
export function shop_list( params = {} ){
    return service.get('/shop/list',{ params });
}
export function shop_shopinfo( params = {} ){
    return service.get('/shop/shopinfo',{ params });
}

//...





